package com.hd.entity.sys;
import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 用户信息扩展表 实体类
 * @author hzhh123
 * @date 2019-01-16 02:15
 */
@Entity
@Table(name = "sys_user_info_ext")
public class UserInfoExt implements Serializable {
	private static final long serialVersionUID = 1L;
	/**
	 * 主键
	 */
	@Id
	@Column(name="id")
	private String id;
	/**
	 * 外键,管关联sys_user的主键
	 */
	@Column(name="obj_id")
	private String objId;

	/**
	* 头像地址
	*/
	@Column(name="photo")
	private String photo;
	/**
	 * 头像附件ID
	 */
	@Column(name="attach_id")
	private String attachId;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getObjId() {
		return objId;
	}

	public void setObjId(String objId) {
		this.objId = objId;
	}

	public String getPhoto() {
		return photo;
	}

	public void setPhoto(String photo) {
		this.photo = photo;
	}

	public String getAttachId() {
		return attachId;
	}

	public void setAttachId(String attachId) {
		this.attachId = attachId;
	}
}
